const mongoose = require('mongoose')
const Schema = mongoose.Schema;
const article = new Schema({
  title: {
    type: String
  },
  descc: {
    type: String
  },
  content: {
    type: String
  },
  images: {
    type: String
  },
  registerTime: {
    type: Date,
    default: Date.now
  }
})
module.exports = mongoose.model('article', article)